package my.graduation.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import my.graduation.entity.Clinic;
import my.graduation.entity.ExaminationItem;

/**
 * @Author: RavenLyn
 * @Date: 2025-02-28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExaminationItemVO {

    private Integer id;

    private Integer departmentId;

    private String departmentName;

    private Integer clinicId;

    private String clinicName;

    private String name;

    private Integer fee;

    private String attentions;

    public ExaminationItemVO(ExaminationItem examItem, String departmentName, String clinicName) {
        this.id = examItem.getId();
        this.departmentId = examItem.getDepartmentId();
        this.clinicId = examItem.getClinicId();
        this.name = examItem.getName();
        this.fee = examItem.getFee();
        this.attentions = examItem.getAttentions();
        this.clinicName = clinicName;
        this.departmentName = departmentName;
    }
}
